package com.financing.platform.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.financing.platform.dao.IFpFundCFDao;
import com.financing.platform.dto.FpFundCFDTO;
import com.financing.platform.service.IFpFundCFService;

/**
 * @Description:Service实现类
 * @version 1.0
 * @created caojiayao
 */
 
@Service(value="fpFundCFService")
public class FpFundCFServiceImpl implements IFpFundCFService {
    @Autowired
	private IFpFundCFDao fpFundCFDao;
	
	
	@Override
	public FpFundCFDTO getFpFundCF(Integer id) {
		return fpFundCFDao.getFpFundCF(id);
	}
	
	
	@Override
	public Integer insertFpFundCF(FpFundCFDTO dto) {
		return fpFundCFDao.insertFpFundCF(dto);
	}

	
	@Override
	public Integer updateFpFundCF(FpFundCFDTO dto) {
		return fpFundCFDao.updateFpFundCF(dto);
	}
	
	@Override
	public Integer delFpFundCF(Integer id) {
		return fpFundCFDao.delFpFundCF(id);
	}
	
	@Override
	public List<FpFundCFDTO> listFpFundCF(FpFundCFDTO dto) {
		return fpFundCFDao.listFpFundCF(dto);
	}
	
	@Override
	public List<FpFundCFDTO> listFpFundCFByPage(FpFundCFDTO dto) {
		return fpFundCFDao.listFpFundCFByPage(dto);
	}
	
	@Override
	public Integer countFpFundCF(FpFundCFDTO dto){
		return fpFundCFDao.countFpFundCF(dto);
	}
}
